<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AdvRight.ascx.cs" Inherits="Controls_AdvRight" %>

<table class="infoBox_table" width="100%" border="0" cellpadding="0" cellspacing="0">
                  <tbody><tr>
                    <td class="infoBox_td"><table class="infoBoxContents_table" width="100%" border="0" cellpadding="0" cellspacing="0">
                  <tbody><tr>
                    <td class="boxText" align="center">
                       <asp:DataList ID="dtAdvRight" runat="server" DataSourceID="ObjectDataSource2">
                        <ItemStyle HorizontalAlign="Center" />
                        <ItemTemplate>               
                        <asp:HyperLink  runat ="server" ID ="linkquangcao" 
                        NavigateUrl='http:<%# Eval("Adv_Link") %>'
                        ToolTip ='<%# Eval("Adv_Title") %>'>
                            <asp:Image ID ="imagequangcao" runat ="server" 
                            ImageUrl ='<%#"~/images/Adv/"+ Eval("Adv_Image") %>' 
                            Width="140" Height="200"    border="0"  />
                        </asp:HyperLink>
                    </ItemTemplate>
        </asp:DataList>
        <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="Get_AdvertiseAsPaging"
            TypeName="FShop.BAL.Advertise_BAL">
            <SelectParameters>
                <asp:Parameter DefaultValue="1" Name="pageIndex" Type="Int32" />
                <asp:Parameter DefaultValue="2" Name="pageSize" Type="Int32" />
                <asp:Parameter  Name="sSortColumn" Type="String" />
                <asp:Parameter DefaultValue="*" Name="sFields" Type="String" />
                <asp:Parameter DefaultValue="Adv_Position=2" Name="sWhere" Type="String" />
                <asp:Parameter DefaultValue="" Name="sGroupBy" Type="String" />
            </SelectParameters>
            </asp:ObjectDataSource></td>
                  </tr>
                </tbody></table>
                </td>
                  </tr>
                </tbody></table>